<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>


<div class="section">
	<div class="box">
		<div class="title">
			查询结果
			<span class="hide"></span>
		</div>
		<div class="content">
			<div class="dataTables_wrapper"><div><div class="dataTables_filter"></div></div>
			<table class="sorting"> 
				<thead>
					<tr>
						<th></th>
						<th>入库单号</th>
						<th>入库单类型</th>   
						<th>供应商代码</th>
						<th>供应商名称</th>
						<th>门店代码</th>
						<th>状态</th>
						<th>产品数量</th>
						<th>金额</th>						
						<th>创建人</th>					
						<th>审核人</th>
						<th>审核时间</th>
						<th>过账人</th>
						<th>过账时间</th>
						<th>操作</th>
					</tr>
				</thead>
				
				<tbody>
					<!-- 数据行 -->
					<s:iterator value="pager.records" var="goodsAsnHeader" status="status">
						<tr>
							<td><checkbox name="asnIds" value="<s:property value="id"/>"/><s:property value="name" /></td>
							<td><a	href='#' onclick="detail(<s:property value="id"/>)"><s:property value="seqNo" /></a> </td>
							<td><s:property value="@com.smrs.asn.enums.AsnTypeEnum@toEnum(type).name" /></td>
							<td><s:property value="supplierCode" /></td>
							<td><s:property value="supplierName" /></td>	
							<td><s:property value="storeCode" /></td>						
							<td><s:property value="@com.smrs.asn.enums.AsnStatusEnum@toEnum(status).name" /></td>
							<td><s:property value="actualQuantify" /></td>
							<td><s:property value="actualAmount" /></td>
							<td><s:property value="creator" /></td>								
							<td><s:property value="auditor" /></td>							
							<td><s:date name="auditTime" format="yyyy-MM-dd HH:mm:ss" /></td>
							<td><s:property value="accountant" /></td>							
							<td><s:date name="accoutTime" format="yyyy-MM-dd HH:mm:ss" /></td>							
							<td>
								<img title="删除" border="0" src="${staticURL}/images/trash.png" 	onclick="delForm(<s:property value="id"/>)">
								<img title="维护详详细单据" border="0" src="${staticURL}/images/edit.png" 	onclick="updateForm(<s:property value="id"/>)">
							</td>
						</tr>
					</s:iterator>
				</tbody>
				</table>
				<p:pagination pager="pager" formId="searchForm" theme="default"></p:pagination>
				</div>
		</div>
	</div>
</div>
